@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/advert/advert_add.js"]}){
<form id="cabinetAddForm" lay-filter="cabinetAddForm" class="layui-form model-form">
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <div class="layui-upload">
			    <button type="button" class="layui-btn" id="test1">上传图片</button>
		  		<div class="layui-upload-list">
		    		<img class="layui-upload-img" style="max-height: 250px;max-width: 200px;min-height: 150px;min-width: 150px" id="demo1">
		    		<p id="demoText"></p>
		  		</div>
			</div>  
        </div>
    </div>
    <input name="url" placeholder="请输入文件路径" type="hidden" class="layui-input" lay-verify="required" required/>
    <div class="layui-form-item">
        <label class="layui-form-label">文件名<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="fileName" placeholder="文件名" type="text" readonly="readonly" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">大小(kb)<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="fileSize" placeholder="文件大小" type="text" readonly="readonly" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文件类型<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="fileType" placeholder="文件类型" type="text" readonly="readonly" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文件描述</label>
        <div class="layui-input-block">
            <input name="describeStr" placeholder="文件描述" type="text" class="layui-input" />
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
